import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim_items
from util import *

class Sabre(sim_items.Weapon):
    def __init__(self):
        bonuses = {
                'hitMod': +6,
                'damageSkewMod': 0,
        }

        # TODO: depth, materials, etc.
        sim_items.Weapon.__init__(self, 
                'sabre',  # base name
                parole.map.AsciiTile(')', colors['Silver']), # symbol
                4, # weight
                850, # wield energy
                900, # attack energy
                50, # maximum damage. a wielder with avg stats will average half
                    # this much damage
                bonuses,
                'slash', # verb
                False,   # startsVowel
                projectileDamage=30,
                unidDescription="The fencer's blade. The tempered steel of "\
                "this curved weapon can strike like lightning in experienced "\
                "hands."
        )
    

#========================================
thingClass = Sabre

